<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加或修改商品</title>
    <link rel="stylesheet" href="./static/css/storeAddOrEdit.css">
</head>
<body>
    <h1>添加或修改商品</h1>
    <form id = "storeForm">
        <table>
            <tr>
                <td>商品名称</td>
                <td><input type="text" name="storeName" required></td>
            </tr>
            <tr>
                <td>商品价格</td>
                <td><input type="text" name="price" required></td>
            </tr>
            <tr>
                <td>商品库存</td>
                <td><input type="text" name="stock" required></td>
            </tr>
            
            <tr>
                <td colspan="2" style="text-align: center;">
                    <input type="button" value="保存" onclick="save()">
                    <input type="button" value="取消" onclick="back()">
                </td>
            </tr>
        </table>
    </form>
</body>
<script src="./static/js/jquery.min.js"></script>
<script src="./static/js/axios.min.js"></script>
<script src="./static/js/storeAddOrEdit.js"></script>
</html>